package com.yuanfeng.commoms.vo.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlusThaliEntityVO {

    private Integer thaliId;

    private Integer thaliType;

    private BigDecimal thaliPrice;

    private BigDecimal thaliOldPrice;

    private BigDecimal totalAmount;

    private BigDecimal earnPoints;

    private String thaliEquity;

    private String userAvatar;

    private String userName;

    private List thaliEquityList;

    private Integer thaliRecommend;

    private Integer equityTotal;

    private Integer thaliStatus;

    private Integer renewalDisplay;

    private Integer memberStatus;

    private List<PlusEquityEntityVO> plusEquitys;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date thaliEndtime;

    private Integer nextThaliType;

    private Integer redTotal;//红包总数

    private Integer redAvailable;//可用红包

    private String logoImg;//卡logo

    private String recommend;//推荐标识

    private String propaganda;//宣传语
}
